<?php
namespace app\wechat\controller;
use app\wechat\controller\Base;
use app\wechat\service\http;
use app\wechat\lib\exception\ParameterException;

class Webswoole extends http
{
	/**
     * @author jerry xiao
     * @param array $data 返回json
     * @datetime  2018/3/2
     * http://api.com/index.php/wechat/api/v1/Webswoole/GetSocket
     */

    public function GetSocket()
    {   
        dump('测试');
        // $validate = new WechatValidate();
        // $validate->goCheck('Wechat');
        // $validate->SignCheck();
        // $result=(new WechatModel())->WechatCompanyInfo();
		// if(empty($result)){
        // 	try{
		// 		throw new ParameterException(array('msg'=>'数据为空!','errorCode'=>30505));
		// 	}catch(\Exception $e){
		// 		$this->show_error($e->msg,$e->errorCode);
		// 	}
        // }
        // $this->show_success($result);
    }


}